package io.awen.modules.sign.service;


import com.baomidou.mybatisplus.extension.service.IService;
import io.awen.common.utils.PageUtils;
import io.awen.modules.sign.entity.SignCarEntity;
import io.awen.modules.sign.entity.SignCarWeightChangeEntity;
import io.awen.modules.sign.qo.SignCarWeightChangeQo;
import io.awen.modules.sign.qo.SignTaskQo;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

public interface SignCarWeightChangeService extends IService<SignCarWeightChangeEntity> {

    void insertWhenWeightChange(SignCarEntity car,Double Speed, String Weight, Double lon, Double lat);

    PageUtils queryPage(SignCarWeightChangeQo qo);
    List<Map<String, Object>> weightTotalGroupByContainer(SignCarWeightChangeQo qo);
    void submit(SignCarWeightChangeEntity qo);
    PageUtils queryLedger(SignCarWeightChangeQo qo);
    PageUtils totalTable(@RequestBody SignCarWeightChangeQo qo);

    PageUtils queryPageWeightTotalGroupByCar(SignCarWeightChangeQo qo);

    List<Map<String, Object>> weightTotalGroupByCar(SignCarWeightChangeQo qo);
    List<Map<String, Object>> weightTotalGroupByTimeLength(SignCarWeightChangeQo qo);

}
